package com.exception;


import com.exception.ErrorCode.ErrorCode;

/**
 * 文件上传或者下载异常
 *
 * @author fanshihao
 * @date 2025-03-20 14:49
 */
public class FileException extends BizException {

    public FileException(ErrorCode errorCode) {
        super(errorCode);
    }

    public FileException(String message, ErrorCode errorCode) {
        super(message, errorCode);
    }

    public FileException(String message, Throwable cause, ErrorCode errorCode) {
        super(message, cause, errorCode);
    }

    public FileException(Throwable cause, ErrorCode errorCode) {
        super(cause, errorCode);
    }

    public FileException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, ErrorCode errorCode) {
        super(message, cause, enableSuppression, writableStackTrace, errorCode);
    }
}
